<?php
$viewdefs ['Opportunities'] = 
array (
  'DetailView' => 
  array (
    'templateMeta' => 
    array (
      'form' => 
      array (
        'buttons' => 
        array (
          0 => 'EDIT',
          1 => 'DUPLICATE',
          2 => 'DELETE',
          3 => 
          array (
            'customCode' => '<input title="{$APP.LBL_DUP_MERGE}" accesskey="M" class="button" onclick="this.form.return_module.value=\'Opportunities\';this.form.return_action.value=\'DetailView\';this.form.return_id.value=\'{$fields.id.value}\'; this.form.action.value=\'Step1\'; this.form.module.value=\'MergeRecords\';" name="button" value="{$APP.LBL_DUP_MERGE}" type="submit">',
          ),
        ),
      ),
      'maxColumns' => '2',
      'widths' => 
      array (
        0 => 
        array (
          'label' => '10',
          'field' => '30',
        ),
        1 => 
        array (
          'label' => '10',
          'field' => '30',
        ),
      ),
    ),
    'panels' => 
    array (
      'default' => 
      array (
        0 => 
        array (
          0 => 'name',
          1 => 
          array (
            'name' => 'amount',
            'label' => '{$MOD.LBL_AMOUNT} ({$CURRENCY})',
          ),
        ),
        1 => 
        array (
          0 => 'account_name',
          1 => 'date_closed',
        ),
        2 => 
        array (
          0 => 'opportunity_type',
          1 => 'next_step',
        ),
        3 => 
        array (
          0 => 'lead_source',
          1 => 
          array (
            'name' => 'date_entered',
            'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$fields.created_by_name.value}',
          ),
        ),
        4 => 
        array (
          0 => 'sales_stage',
          1 => 'probability',
        ),
        5 => 
        array (
          0 => 'assigned_user_name',
          1 => 
          array (
            'name' => 'date_modified',
            'label' => 'LBL_DATE_MODIFIED',
            'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value}',
          ),
        ),
        6 => 
        array (
          0 => 
          array (
            'name' => 'gruper_miasto_tematu_c',
            'studio' => 'visible',
            'label' => 'LBL_GRUPER_MIASTO_TEMATU',
          ),
        ),
        7 => 
        array (
          0 => '',
          1 => '',
        ),
      ),
      'lbl_panel2' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'gruper_1_min_ilosc_c',
            'label' => 'LBL_GRUPER_1_MIN_ILOSC',
          ),
          1 => 
          array (
            'name' => 'gruper_2_max_ilosc_c',
            'label' => 'LBL_GRUPER_2_MAX_ILOSC',
          ),
        ),
        1 => 
        array (
          0 => 
          array (
            'name' => 'gruper_3_cena_jednostkowa_c',
            'label' => 'LBL_GRUPER_3_CENA_JEDNOSTKOWA',
          ),
          1 => 
          array (
            'name' => 'gruper_4_cena_jedn_gruper_c',
            'label' => 'LBL_GRUPER_4_CENA_JEDN_GRUPER',
          ),
        ),
        2 => 
        array (
          0 => 
          array (
            'name' => 'gruper_rabat_dla_klienta_c',
            'label' => 'LBL_GRUPER_RABAT_DLA_KLIENTA',
          ),
          1 => 
          array (
            'name' => 'gruper_6_max_wart_tematu_c',
            'label' => 'LBL_GRUPER_6_MAX_WART_TEMATU',
          ),
        ),
        3 => 
        array (
          0 => 
          array (
            'name' => 'gruper_czas_publikacji_c',
            'label' => 'LBL_GRUPER_CZAS_PUBLIKACJI',
          ),
          1 => 
          array (
            'name' => 'gruper_prowizja_od_sprzedazy_g_c',
            'label' => 'LBL_GRUPER_PROWIZJA_OD_SPRZEDAZY_G',
          ),
        ),
        4 => 
        array (
          0 => 
          array (
            'name' => 'gruper_5_min_wart_tematu_c',
            'label' => 'LBL_GRUPER_5_MIN_WART_TEMATU',
          ),
          1 => 
          array (
            'name' => 'gruper_termin_waznosci_dni_c',
            'label' => 'LBL_GRUPER_TERMIN_WAZNOSCI_DNI',
          ),
        ),
        5 => 
        array (
          0 => 
          array (
            'name' => 'gruper_7_planowana_publikacja_c',
            'label' => 'LBL_GRUPER_7_PLANOWANA_PUBLIKACJA',
          ),
          1 => 
          array (
            'name' => 'gruper_8_termin_waznosci_c',
            'label' => 'LBL_GRUPER_8_TERMIN_WAZNOSCI',
          ),
        ),
      ),
      'lbl_panel1' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'gruper_9_data_publikacji_c',
            'label' => 'LBL_GRUPER_9_DATA_PUBLIKACJI',
          ),
          1 => 
          array (
            'name' => 'gruper_10_ilosc_sprz_kuponow_c',
            'label' => 'LBL_GRUPER_10_ILOSC_SPRZ_KUPONOW',
          ),
        ),
        1 => 
        array (
          0 => 
          array (
            'name' => 'gruper_11_wartosc_dla_grupera_c',
            'label' => 'LBL_GRUPER_11_WARTOSC_DLA_GRUPERA',
          ),
          1 => 
          array (
            'name' => 'gruper_12_czy_powtorka_c',
            'studio' => 'visible',
            'label' => 'LBL_GRUPER_12_CZY_POWTORKA',
          ),
        ),
        2 => 
        array (
          0 => 
          array (
            'name' => 'gruper_13_kolejny_kontakt_c',
            'label' => 'LBL_GRUPER_13_KOLEJNY_KONTAKT',
          ),
          1 => '',
        ),
        3 => 
        array (
          0 => 
          array (
            'name' => 'gruper_14_feedback_c',
            'studio' => 'visible',
            'label' => 'LBL_GRUPER_14_FEEDBACK',
          ),
          1 => '',
        ),
      ),
    ),
  ),
);
?>
